package com.gpframework.module.purchase.service;

import com.gpframework.module.purchase.domain.GpPurchasingMakingDetails;
import com.gpframework.module.purchase.domain.req.GpPurchasingMakingDetailsUpdate;
import com.gpframework.module.purchase.domain.vo.GpPurchasingMakingDetailsVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpPurchasingMakingDetails
 * @Author gpframework
 * @Date 2023-12-22
 * @Version 1.0.0
 * @Description 采购做货明细Service接口
 */
public interface IGpPurchasingMakingDetailsService extends IService<GpPurchasingMakingDetails> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2023-12-22
     * @Param [lqw]
     * @Return List<GpPurchasingMakingDetailsVo>
     */
    List<GpPurchasingMakingDetailsVo> listVo(QueryWrapper<GpPurchasingMakingDetails> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2023-12-22
     * @Param [id]
     * @Return GpPurchasingMakingDetailsVo
     */
    GpPurchasingMakingDetailsVo getVoById(Long id);

    boolean edit(List<GpPurchasingMakingDetailsUpdate> list);

    boolean editOne(GpPurchasingMakingDetailsUpdate gpPurchasingMakingDetailsUpdate);

    boolean copy(Long id, Integer copyNum);
}
